<?
//获取nav-itemed，控制侧边栏展开

if($_REQUEST['nav-itemed']=="index")
{$navi_index="layui-this";}

if($_REQUEST['nav-itemed']=="config")
{$navi_config="layui-this";}

if($_REQUEST['nav-itemed']=="user")
{$navi_user="layui-this";}


?>





<ul class="layui-nav"  >









  <li class="layui-nav-item <?echo $navi_index ?>" ><a href="/controller/extender/dashboard/view/index.php?nav-itemed=index"><i class="layui-icon">&#xe60f;</i>系统首页</a></li>
<!--  <li class="layui-nav-item  --><?//echo $navi_config ?><!--"><a href="--><?//echo $domain?><!--/controlbase/config.php?nav-itemed=config"><i class="layui-icon">&#xe614;</i>系统设置</a></li> -->
<!--  <li class="layui-nav-item">-->
<!--    <a href="javascript:;"><i class="layui-icon">&#xe607;</i>帮助中心</a>-->
<!--    <dl class="layui-nav-child"> <!-- 二级菜单 -->-->
<!--      <dd><a href="">常见问题</a></dd>-->
<!--      <dd><a href="">在线客服</a></dd>-->
<!--      <dd><a href="">信息反馈</a></dd>-->
<!--    </dl>-->
<!--  </li>-->










<?
$userdepartment=select_one_line_all_items($table_Prefix."department","nid='".$_SESSION['departmentid']."'");
?>



	<li class="layui-nav-item <?echo $navi_user ?>"><a href="javascript:;"><i class="layui-icon">&#xe612;</i><?echo $_SESSION['username'];?> [ <?echo $userdepartment['name'] ?> ] </a>
		<dl class="layui-nav-child"> <!-- 二级菜单 -->
      <dd><a href="<?echo $domain?>/controller/extender/user/view/detail-reset-pw.php?nav-itemed=user&nid=<?echo $_SESSION['nid'];?>"> 用户中心</a></dd>
      <dd><a href="/controller/loginout.php"> 注销登录</a></dd>
    </dl>
	</li>






</ul>


